From f7c0661a61f4fe46fa691ee2133a39877e110736 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonas=20=C3=85dahl?= Date: Fri, 16 Sep 2016 15:42:37 +0800 Subject: [PATCH] wayland: Only 'moved-to-rect' if move_to_rect() was used Don't emit the 'moved-to-rect' signal if move_to_rect() was used. https://bugzilla.gnome.org/show_bug.cgi?id=771516 --- gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 7dbb97951d..3e0abb12e6 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -1509,6 +1509,9 @@ xdg_popup_configure (void *data, g_return_if_fail (impl->transient_for); + if (impl->position_method != POSITION_METHOD_MOVE_TO_RECT) + return; + calculate_moved_to_rect_result (window, x, y, width, height, &flipped_rect, &final_rect, -- 2.30.2